<!DOCTYPE html>
<html lang="zh">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<meta http-equiv="X-UA-Compatible" content="ie=edge">
	<title>首页</title>
</head>
<body>
	<form action=""method="post">
		用户名:<input type="text" name="username" value="<?php
		if (isset($_COOKIE['username']))
		{
			echo trim($_COOKIE['username']);
		}
		?>"><br/><br/>
		用户密码:<input type="text" name="password"><br/><br/>
		<input type="submit" value="登录">
		
	
	
	
	</form>
	
</body>
</html>